package org.tom.pet.service;

import org.tom.basic.service.IBaseService;
import org.tom.basic.util.PageList;
import org.tom.pet.domain.Pet;
import org.tom.pet.domain.SearchMasterMsg;
import org.tom.pet.query.SearchMasterMsgQuery;
import org.tom.user.domain.Logininfo;

import javax.servlet.http.HttpServletRequest;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg smm, Logininfo logininfo);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery searchMasterMsgQuery, Long logininfoId);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery searchMasterMsgQuery, Long logininfoId);

    void handle(Pet pet, Long id);
}
